//
//  ViewController.swift
//  Swift-网络请求类
//
//  Created by 范英强 on 16/1/28.
//  Copyright © 2016年 范英强. All rights reserved.
//

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        HMNetworkTools.sharedTools.requset(.GET, url: "http://www.weather.com.cn/data/sk/101010100.html", params: nil) { (response, error) -> () in
            if error != nil{
                print(error)
                return
            }
            
            print(response)
        }
       
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }


}

